class DragonBoneManager extends BaseClass {
    public constructor() {
        super();
    }
    public getArmature(aname, action, time): dragonBones.EgretArmatureDisplay {
        let dragonbonesData = RES.getRes(aname + "_ske_json");
        let textureData = RES.getRes(aname + "_tex_json");
        let texture = RES.getRes(aname + "_tex_png");
        let egretFactory: dragonBones.EgretFactory = dragonBones.EgretFactory.factory;
        egretFactory.parseDragonBonesData(dragonbonesData);
        egretFactory.parseTextureAtlasData(textureData, texture);

        let armatureDisplay: dragonBones.EgretArmatureDisplay = egretFactory.buildArmatureDisplay(action);
        armatureDisplay.animation.play(action, time);
        return armatureDisplay;
    }
}